/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package interfaceGrafica;

import java.awt.Frame;
import java.util.Stack;

/**
 *
 * @author Paulo Zuza
 */
public  class GerenciadorFrame {
    static Stack<Frame> pilha = new Stack<Frame>();
    public static void empilhar(Frame frame){
        pilha.push(frame);
    }
     public static Frame desempilhar(){
        return pilha.pop();
    }
     public static boolean pilhaVazia(){
             return pilha.isEmpty();
                     }
}

